package cn.myzqu.sign.user.server.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author chenyihui
 * @Description: TODO
 * @date 2019/1/26  23:59
 */
@Data
public class DateVo {
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date endTime;
    public DateVo()
    {

    }

    public DateVo(Date beginTime, Date endTime) {
        this.beginTime = beginTime;
        this.endTime = endTime;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
